<?php
namespace app\common\controller;

class ApiBase extends Base
{
    protected function jsonFmt($msg = '', $data = '', $status = 0){
        $arr['status'] = $status;
        $arr['msg'] = $msg;
        $arr['data'] = $data;
        return json($arr);
    }
}
